<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="include/common.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>用户登陆</title>
		<link rel="stylesheet" href="<%=path%>/style/style_manage.css" type="text/css"></link>
		<script type="text/javascript" src="<%=path%>/js/jquery-1.3.2.js"></script>
		<script type="text/javascript">
		function register(){
			window.location.href="<%=path%>/user/addUser.jsp";
		}
		</script>
	</head>
	<body>
	<div style="width: 100%; height: 610px; text-align: center; background-image: url(<%=path%>/image/wwb/login_bg_01.jpg)">
			<div style="width: 90%; height: 50px; text-align: left; padding-top: 130px; padding-left: 100px">
				<h1 style="font-size: 36px; font-weight: bold;">
					AHP
				</h1>
			</div>
		<form action="<%=path%>/user/userlogin.action" method="post">
			<table width="40%" align="right" style="margin-top: 100px; margin-right: 70px;">
				<tr>
					<td height="30" colspan="2" align="left" style="font-size: 13px; color: #FF0000">
						<div id="alertinfo" style="height: 10px; line-height: normal; color: red;"><%
							if(request.getParameter("failed")!=null && "true".equals(request.getParameter("failed"))){
								out.print("登陆失败请重试");
							}
						%></div>
					</td>
				</tr>
				<tr>
					<td width="3%" height="35" align="left" style="font-size: 14px">
						帐&nbsp;&nbsp;&nbsp;号：
					</td>
					<td height="35" align="left" style="font-size: 14px">
						<input type="text" name="user.loginName" value="" size="22" class="input_login" maxlength="16" tabindex="1" />
				</tr>
				<tr>
					<td height="30" align="left" style="font-size: 14px">
						口&nbsp;&nbsp;&nbsp;令：
					</td>
					<td height="35" align="left" style="font-size: 14px">
						<input type="password" name="user.password" value="" size="22" class="input_login" maxlength="50" tabindex="2" />
					</td>
				</tr>
				<tr>
					<td height="40" align="left"></td>
					<td height="40" align="left">
						<input name="sb" type="submit" value="&nbsp; 登 录 &nbsp;" size="20" class="button_s" tabindex="3" style="width: 69px; height: 26px; cursor: pointer;" />
						&nbsp;
						<input name="注册" type="button" onclick="register();" value="&nbsp; 注 册 &nbsp;" size="20" class="button_r" tabindex="4" style="width: 69px; height: 26px; cursor: pointer;" />
					</td>
				</tr>
			</table>
		</form>
		</div>
	</body>
</html>